import React, { Component } from 'react';
import Layout from './Layout'

class HomePage extends Component {
    constructor(props) {
        super(props);
        this.state = {  }
    }
    render() { 
        return ( 
            <Layout showTopBar={false} showBottomBar={true} title="商城首页">
                {/* <div>
                    <h3>HomePage</h3>
                </div> */}
                {{
                    content:(
                        <div>
                            <h3>HomePage</h3>
                        </div> 
                    ),
                    txt:'这是个文本',
                    btnClick:()=>{
                        console.log('btnClick')
                    }
                }}
            </Layout>
         );
    }
}
 
export default HomePage;